package com.bone.business.service;

import java.util.List;
import java.util.Map;

import com.bone.business.dao.BusinessDAO;
import com.bone.business.po.Business;
import com.bone.page.Page;

public interface BusinessService {
	
	/**
	 * 取符合条件的模块的数量.
	 * @param para
	 * @return
	 */
	Long queryBusinessCountByParam(Map<String, Object> para);
	
	/**
	 * 
	 * @param parameter
	 * @return
	 */
	List<Business> queryBusinessPageByParam(Map<String, Object> parameter);
	/**
	 * 
	 * @param parameter
	 * @return
	 */
	List<Business> queryBusinessListByParam(Map<String, Object> parameter);
	
	/**
	 * 
	 * @param parameter
	 * @return 
	 */
	Business queryBusinessByBusinessId(Long businessId);
	
	
	
	BusinessDAO getBusinessDAO();

	void setBusinessDAO(BusinessDAO businessDAO);

}